/*
 * CollectShopHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 我的收藏- 商店Item -ViewHolder */
public class CollectShopHolder extends ViewHolder {
    public ImageView mIvShopInfoImage;
    public TextView mTvShopName;
    public TextView mTvShopDetail;
    public TextView mTvCollect;
    public TextView mTvGoToShop;
    public LinearLayout mLlytShopInfo;

    @Override
    protected void initView(View rootView) {
        mLlytShopInfo = (LinearLayout) rootView.findViewById(R.id.llyt_shop_info);
        mIvShopInfoImage = (ImageView) rootView.findViewById(R.id.iv_shop_info_image);
        mTvShopName = (TextView) rootView.findViewById(R.id.tv_shop_name);
        mTvShopDetail = (TextView) rootView.findViewById(R.id.tv_shop_detail);
        mTvCollect = (TextView) rootView.findViewById(R.id.tv_collect);
        mTvGoToShop = (TextView) rootView.findViewById(R.id.tv_go_to_shop);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_collect_shop;
    }
}
